package ioperation;

import book.BOOK;
import book.BOOKLIST;

public class SHOWOPERATION implements IOPERATION{
    public void work(BOOKLIST booklist) {

        System.out.println("显示图书.....");
        int currensize = booklist.getUsedSize();
        for (int i = 0; i < currensize; i++)
        {
            BOOK book = booklist.getBooks(i);
            System.out.println(book);
        }
    }
}
